Telegram Group & Telegram Channel
⚙️ Что такое атрибут required в HTML и зачем он используется?

Атрибут required делает поле формы обязательным для заполнения.

Если пользователь попытается отправить форму с пустым таким полем — браузер покажет предупреждение.

➡️ Пример:

<form>
<label>
Email:
<input type="email" required>
</label>
<button type="submit">Отправить</button>
</form>


🗣️ Почему полезно:

• Проверка происходит прямо в браузере, без JS
• Обеспечивает базовую валидацию «из коробки»
• Работает для <input>, <textarea>, <select>

required — простой способ сделать формы более устойчивыми и понятными для пользователя.

CodeBase | Frontend | #Основы
Please open Telegram to view this post
VIEW IN TELEGRAM



tg-me.com/codebase_frontend/664
Create:
Last Update:

⚙️ Что такое атрибут required в HTML и зачем он используется?

Атрибут required делает поле формы обязательным для заполнения.

Если пользователь попытается отправить форму с пустым таким полем — браузер покажет предупреждение.

➡️ Пример:

<form>
<label>
Email:
<input type="email" required>
</label>
<button type="submit">Отправить</button>
</form>


🗣️ Почему полезно:

• Проверка происходит прямо в браузере, без JS
• Обеспечивает базовую валидацию «из коробки»
• Работает для <input>, <textarea>, <select>

required — простой способ сделать формы более устойчивыми и понятными для пользователя.

CodeBase | Frontend | #Основы

BY CodeBase | Frontend


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/codebase_frontend/664

View MORE
Open in Telegram


CodeBase | Frontend Telegram | DID YOU KNOW?

Date: |

Telegram Auto-Delete Messages in Any Chat

Some messages aren’t supposed to last forever. There are some Telegram groups and conversations where it’s best if messages are automatically deleted in a day or a week. Here’s how to auto-delete messages in any Telegram chat. You can enable the auto-delete feature on a per-chat basis. It works for both one-on-one conversations and group chats. Previously, you needed to use the Secret Chat feature to automatically delete messages after a set time. At the time of writing, you can choose to automatically delete messages after a day or a week. Telegram starts the timer once they are sent, not after they are read. This won’t affect the messages that were sent before enabling the feature.

Why Telegram?

Telegram has no known backdoors and, even though it is come in for criticism for using proprietary encryption methods instead of open-source ones, those have yet to be compromised. While no messaging app can guarantee a 100% impermeable defense against determined attackers, Telegram is vulnerabilities are few and either theoretical or based on spoof files fooling users into actively enabling an attack.

CodeBase | Frontend from cn


Telegram CodeBase | Frontend
FROM USA